package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "CurrStatusUser 视图", description = " 视图")
public class CurrStatusUserVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 人员Id 
     */
    @ApiModelProperty(value = "人员Id ")
    @Excel(name = "人员Id ", orderNum = "0")
    private Integer userId;

    /**
     * 人员名称
     */
    @ApiModelProperty(value = "人员名称")
    @Excel(name = "人员名称", orderNum = "0")
    private String userName;

    /**
     * 在线状态:0.离线,1.在线
     */
    @ApiModelProperty(value = "在线状态:0.离线,1.在线")
    @Excel(name = "在线状态:0.离线,1.在线", orderNum = "0")
    private Integer onlineType;

    /**
     * 是否范围内:1.在;0.不在
     */
    @ApiModelProperty(value = "是否范围内:1.在;0.不在")
    @Excel(name = "是否范围内:1.在;0.不在", orderNum = "0")
    private Integer onguardType;

    /**
     * 在线时长（秒）
     */
    @ApiModelProperty(value = "在线时长（秒）")
    @Excel(name = "在线时长（秒）", orderNum = "0")
    private Integer onlineTime;

    /**
     * 设备剩余电量
     */
    @ApiModelProperty(value = "设备剩余电量")
    @Excel(name = "设备剩余电量", orderNum = "0")
    private Integer battery;

    /**
     * 设备状态: 1 正常 2.低电、3.设备关机、
     */
    @ApiModelProperty(value = "设备状态: 1 正常 2.低电、3.设备关机、")
    @Excel(name = "设备状态: 1 正常 2.低电、3.设备关机、", orderNum = "0")
    private Integer clientStatus;

    /**
     * 百度坐标X 
     */
    @ApiModelProperty(value = "百度坐标X ")
    @Excel(name = "百度坐标X ", orderNum = "0")
    private Float bdX;

    /**
     * 百多坐标Y 
     */
    @ApiModelProperty(value = "百多坐标Y ")
    @Excel(name = "百多坐标Y ", orderNum = "0")
    private Float bdY;

    /**
     * 当前GPS时间 
     */
    @ApiModelProperty(value = "当前GPS时间 ")
    @Excel(name = "当前GPS时间 ", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gpsDate;

    /**
     * 里程 
     */
    @ApiModelProperty(value = "里程 ")
    @Excel(name = "里程 ", orderNum = "0")
    private Float mileage;

    /**
     * 范围内里程
     */
    @ApiModelProperty(value = "范围内里程")
    @Excel(name = "范围内里程", orderNum = "0")
    private Float mileageIn;

    /**
     * 速度 
     */
    @ApiModelProperty(value = "速度 ")
    @Excel(name = "速度 ", orderNum = "0")
    private Float speed;

    /**
     * 绿地ID
     */
    @ApiModelProperty(value = "绿地ID")
    @Excel(name = "绿地ID", orderNum = "0")
    private Integer basicId;

    /**
     * 绿地名称 
     */
    @ApiModelProperty(value = "绿地名称 ")
    @Excel(name = "绿地名称 ", orderNum = "0")
    private String basicName;

    /**
     * 数据更新时间 
     */
    @ApiModelProperty(value = "数据更新时间 ")
    @Excel(name = "数据更新时间 ", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;


}
